package gesconda.CBRKBRecommender.model;

import gesconda.master.model.CMAtribut;

public class CMMethodChar {
	public CMAtribut atribut;
	public static enum RequirementType {TR, NRTP, NRPP};
	public RequirementType reqType;

	public CMMethodChar(CMAtribut atribut, String type) {
		if(type.equals("TR")) {
			this.reqType = RequirementType.TR;
		}
		if(type.equals("NRTP")) {
			this.reqType = RequirementType.NRTP;
		}
		if(type.equals("NRPP")) {
			this.reqType = RequirementType.NRPP;
		}
		
		this.atribut = atribut;
	}
}
